{template '_header'}

<div class="page-header">
    当前位置：<span class="text-primary">标签组管理</span>
</div>

<div class="page-content">
   <div class="page-sub-toolbar">
        <span class="">
        {ifp 'goods.label.add'}
        <a href="{php echo webUrl('goods/label/add')}" class="btn btn-primary btn-sm">添加新标签组</a>
        {/if}
          <a  class="btn btn-default  btn-sm" href="{php echo webUrl('goods/label')}">标签管理</a>
    </span>
   </div>

    <form {ife 'goods' $item}action="" method="post"{/if} class="form-horizontal form-validate" enctype="multipart/form-data" >
    <div class="tab-pane  active" id="tab_center">
        <div class="panel-body">
            <div class="form-group">
                <label class="col-lg control-label" style="text-align: right;">商品详情标签样式选择</label>
                <div class="col-sm-9 col-xs-12">
                    <div class="row">
                        {ifp 'goods.label.edit'}
                        <div class="col-sm-12">
                            <label class="radio-inline">
                                <input type="radio"  name="style" value="0" {if empty($style['style'])} checked="checked"{/if} />样式一
                            </label>
                            <label class="radio-inline">
                                <input type="radio"  name="style" value="1" {if $style['style'] ==1} checked="checked"{/if} /> 样式二
                            </label>
                            <label class="radio-inline">
                                <input type="radio"  name="style" value="2" {if $style['style'] ==2} checked="checked"{/if} />样式三
                            </label>
                            <label class="radio-inline">
                                <input type="radio"  name="style" value="3" {if $style['style'] ==3} checked="checked"{/if} /> 样式四
                            </label>
                            <label class="radio-inline">
                                <input type="radio"  name="style" value="4" {if $style['style'] ==4} checked="checked"{/if} />样式五
                            </label>
                        </div>
                        {else}
                            {if empty($style['style'])}样式一
                                {else if $style['style'] ==1}样式二
                                {else if $style['style'] ==2}样式三
                                {else if $style['style'] ==3}样式四
                                {else if $style['style'] ==4}样式五
                            {/if}
                        {/if}
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-lg control-label"></label>
                <div class="col-sm-9 col-xs-12">
                    {ife 'groups.label.edit' $item}
                    <div class='panel-body'>
                        <input type="submit"  value="提交" class="btn btn-primary" />
                    </div>
                    {/if}
                </div>
            </div>

        </div>
    </div>
    </form>
</div>
{template '_footer'}
